-- GENERATED SPELL FOR [Ressan the Needler] --


function spell0_10357(pUnit, Event) --@Sonic Burst,Self--
pUnit:FullCastSpellOnTarget(8281,pUnit)
pUnit:RegisterEvent('Sorts_10357', 6298, 1)
end

function Sorts_10357(pUnit, Event)
local choix_sorts_10357 = math.random(0, 0)
if choix_sorts_10357 == 0 then
pUnit:RegisterEvent('spell0_10357', 1, 1)
end
end

function mob10357_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_10357', math.random(1500, 3000), 1)
end

function mob10357_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob10357_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob10357_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(10357, 1, 'mob10357_Action')
RegisterUnitEvent(10357, 2, 'mob10357_Leave')
RegisterUnitEvent(10357, 3, 'mob10357_Kill')
RegisterUnitEvent(10357, 4, 'mob10357_Die')
